<ion-view view-title="一日游" class="home-wrap order">
  <ion-content>
    <div class="content-bg list-shortborder amountlist ticketlist qupiao mb10">
      <form name="concactForm">
        <ul>
          <li>
            <span class="f16">取票人信息</span>
          </li>
          <li>
            <span class="f16">姓名</span>
            <input type="text" ng-model="order.contacts.contact_name" placeholder="需与证件名字一致" required>
          </li>
          <li>
            <span class="f16">手机</span>
            <input type="number" ng-model="order.contacts.contact_mobile" placeholder="请如实填写手机号以接收通知" required name="phone" ng-minlength="11" ng-maxlength="11">
          </li>
          <li>
            <span class="f16">验证码</span>
            <input type="number" ng-model="order.contacts.token" placeholder="请输入验证码" required style="width:35%">
            <button class="weui_btn weui_btn_primary yanzhengma f14"  ng-disabled="!concactForm.phone.$valid || time>0" ng-click="creatRandCode()" style="width:35%;float:right">立即获取{{time>0?'('+time+')':''}}</button>
          </li>
          <li>
            <span class="f16">身份证</span>
            <input type="text" ng-model="order.contacts.identity_card" placeholder="请如实填写证件号码" required>
          </li>
        </ul>
      </form>
    </div>
  
    <div class="content-bg list-shortborder amountlist ticketlist qupiao mb10">
      <ul>
        <li>
          <span class="f16">备注</span>
        </li>
        <li>
          <textarea type="text" ng-model="order.order_remark" placeholder="请输入备注信息" style="display:block;height:100px;width:100%;"></textarea>
        </li>
      </ul>
    </div>
  </ion-content>
  
  <ion-footer-bar align-title="left" class="bar-dark submitBar">
    <span class="f14 light">总额：<em class="f20">￥<em ng-bind="order.selected_price|number:2"></em></em></span>
    <div class="buttons">
      <!-- <span class="f16 detail">明细<i class="icon icon-arrow-left"></i></span> -->
      <button class="weui_btn weui_btn_primary submitBtn" ng-click="submit()">提交订单</button>
    </div>
    
  </ion-footer-bar>


</ion-view>
